package my.test.mould.perfect;

public class HummerH2Model extends HummerModel {
    @Override
    public void start() {
        System.out.println("悍马H2启动....");
    }

    @Override
    public void stop() {
        System.out.println("悍马H2停止");
    }

    @Override
    public void alarm() {
        System.out.println("悍马H2鸣笛..");
    }

    @Override
    public void engineBoom() {
        System.out.println("悍马H2引擎声音...");
    }

    //默认没有喇叭
    public boolean isAlarm() {
        return false;
    }

}
